Description: Perform linear fitting using the least squares method. Syntax: linefit(A,Y) Note: A least squares fitting t least squares method, linear fit, coefficientmatrix